package com.ruoyi.project.exam.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ruoyi.project.exam.domain.PaperModel;
import com.ruoyi.project.exam.domain.PaperQuAnswerModel;

public interface PaperMapper {

	public PaperModel selectPaperByExamPaperId(@Param("examPaperId")String examPaperId);
	
	public void insertPaper(@Param("model")PaperModel model, @Param("quAnswerList")List<PaperQuAnswerModel> quAnswerList);

	public PaperModel selectUserExamPaper(@Param("id")String id);

	public List<PaperModel> selectUserPaperList(PaperModel model);
}
